# 8.8
def make_album(singer,album):
    album_dict = {
        'singer':singer.title(),
        'album':album.title(),
    }
    return album_dict

# 生成提示语
title_prompt = "\nWhat album are you thinking of? "
artist_prompt = "Who's the artist? "

print("Enter 'q' at any time to quit")

while True:

    f_name = input(title_prompt)
    if f_name == 'q':
        break
    f_album = input(artist_prompt)
    if f_album == 'q':
        break
    
    album = make_album(f_name,f_album)
    print(album)
